package com.desire;

import java.util.Objects;

/**
 * @author LittleDesire
 * @description
 * @date 2022-02-19 周六 15:07
 * @since 17
 */
public class MyTest {
    public static void main(String[] args) {
        String path = Objects.requireNonNull(Thread.currentThread().getContextClassLoader().getResource("user.txt")).getPath();
        System.out.println(path);
    }
}
